/*
 * PsRecordCaster.cpp
 *
 *  Created on: 2018年8月25日
 *      Author: zhengboyuan
 */

#include "PsRecordCaster.h"
#include "CPsRecordCaster.h"
#include "TSingleton.h"
#include "PsCaster.h"
#include "CLog.h"

namespace av
{

typedef comn::Singleton< CPsRecordCaster >	CPsRecordCasterSingleton;


int PsRecordCaster::init()
{
	pscaster_init();

    pscaster_setTcpPrefixSize(2);

	CLog::setLogger(CLog::COUT);
	CLog::setLogger(CLog::DEBUGWINDOW);

	return 0;
}

void PsRecordCaster::quit()
{
	pscaster_quit();


}

PsRecordCaster& PsRecordCaster::instance()
{
	return CPsRecordCasterSingleton::instance();
}


}
